<style>
  .container {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .product {
    display: flex;
    width: 525px;
    /*height: 200px;*/
    flex-direction: column;
    border: 1px solid #ccc;
    align-items: center;
  }

  button {
    width: 40px;
    height: 27px;
    border: none;
    border-radius: 3px;
    background-color: aquamarine;
    cursor: pointer;

  }
</style>
<div class="container">
  <app-product-record></app-product-record>
  <div class="product" *ngFor="let product of products">
    <h3>{{product.name}}</h3>
<!--    <span>{{product.description}}</span>-->
<!--    <br>-->
<!--    <br>-->
    <button (click)="share(product.name)">分享</button>
    <app-product-alert
      [product]="product"
      (notify)="onNotify($event)"
    >
    </app-product-alert>
  </div>
</div>

